package com.ytjj.qmyx.supplychain.service.Impl;


import com.ytjj.qmyx.supplychain.common.model.AdminErrorLog;
import com.ytjj.qmyx.supplychain.mapper.AdminErrorLogMapper;
import com.ytjj.qmyx.supplychain.service.ExceptionLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description 错误日志记录
 *
 * @Version 1.0
 * 
 */

@Service
public class ExceptionLogServiceImpl implements ExceptionLogService {
    @Resource
    private AdminErrorLogMapper adminErrorLogMapper;

    @Override
    public void insert(AdminErrorLog adminErrorLog) {
        adminErrorLogMapper.insertSelective(adminErrorLog);
    }
}
